home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / lisp / eulisp / mpfeel.lha / MPFeel / defs.h < prev    next >
C/C++ Source or Header  |  1992-10-06  |  991b  |  47 lines

  1. /* ******************************************************************** */
  2. /*  defs.h           Copyright (C) Codemist and University of Bath 1989 */
  3. /*                                                                      */
  4. /* Basic definitions of tags and structures                             */
  5. /* ******************************************************************** */
  6.  
  7. /*
  8.  * Change Log:
  9.  *   Version 1, April 1989
  10.  */
  11.  
  12. #ifndef DEFS_H
  13. #define DEFS_H
  14.  
  15. #ifndef TRUE
  16. #define TRUE    (1)
  17. #define FALSE     (0)
  18. #endif
  19.  
  20. #define CONTINUABLE    (2)
  21. #define NONCONTINUABLE    (3)
  22.  
  23. #define STUB(name) printf("*** stub %s called\n", name)
  24.  
  25. #define IGNORE(name)    (name = name)
  26.  
  27. #ifdef MACHINE_SYSTEMV
  28. #define MAX_PROCESSORS (10)
  29. #endif
  30.  
  31. #ifdef MACHINE_BSD
  32. #define MAX_PROCESSORS (1)
  33. #endif
  34.  
  35. #ifdef MACHINE_ANY
  36. #define MAX_PROCESSORS (1)
  37. #endif
  38.  
  39. #ifndef BYTE_ALIGNMENT
  40. #define BYTE_ALIGNMENT (8)
  41. #endif
  42.  
  43. #define RESET_GLOBAL_STACK() /** GC_STACK_POINTER() = stacktop**/
  44.  
  45. #endif /* DEFS_H */
  46. /* End of defs.h */
  47.